import { ref, computed } from 'vue'
export default function () {
  const count = ref(1)
  const doubleCount = computed(() => count.value * 2)
  const increment = () => count.value++
  const decrement = () => count.value--
  return {
    count,
    doubleCount,
    increment,
    decrement
  }
}
